package com.ruoyi.merchandise.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品管理对象 tb_product
 * 
 * @author 李文保
 * @date 2025-03-10
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 合作商名称 */
    @Excel(name = "合作商名称")
    private String name;

    /** 产品CODE */
    @Excel(name = "产品CODE")
    private String pCode;

    /** 产品资费 */
    @Excel(name = "产品资费")
    private String pFee;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pName;

    /** 兑换资费 */
    @Excel(name = "兑换资费")
    private String exchangeFee;

    /** 兑换状态 */
    @Excel(name = "兑换状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setpCode(String pCode) 
    {
        this.pCode = pCode;
    }

    public String getpCode() 
    {
        return pCode;
    }
    public void setpFee(String pFee) 
    {
        this.pFee = pFee;
    }

    public String getpFee() 
    {
        return pFee;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setExchangeFee(String exchangeFee) 
    {
        this.exchangeFee = exchangeFee;
    }

    public String getExchangeFee() 
    {
        return exchangeFee;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("pCode", getpCode())
            .append("pFee", getpFee())
            .append("pName", getpName())
            .append("exchangeFee", getExchangeFee())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
